Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
cd /sys/kernel/config/usb_gadget/
mkdir -p procon
cd procon
echo 0x057e > idVendor
echo 0x2009 > idProduct
echo 0x0200 > bcdDevice
echo 0x0200 > bcdUSB
echo 0x00 > bDeviceClass
@benigeri
benigeri / browser-setup-guide.md
Last active February 8, 2026 01:48
OpenClaw Browser Setup Guide

OpenClaw Browser Setup Guide

How we have browser automation configured for our AI agents. This covers the managed browser profile, agent-browser (Vercel Labs), the Chrome extension relay, and the rules that keep things stable.


Architecture Overview

OpenClaw runs a dedicated, isolated Chrome profile (separate from your personal browser) that agents control via CDP (Chrome DevTools Protocol). On top of that, we use agent-browser from Vercel Labs as the default CLI for interactive automation because it returns compact element refs instead of raw DOM trees — 60-93% fewer tokens.

@aiexz
aiexz / api.txt
Last active February 8, 2026 01:44
Shodan API keys
OefcMxcunkm72Po71vVtX8zUN57vQtAC
PSKINdQe1GyxGgecYz2191H2JoS9qvgD
pHHlgpFt8Ka3Stb5UlTxcaEwciOeF2QM
61TvA2dNwxNxmWziZxKzR5aO9tFD00Nj
xTbXXOSBr0R65OcClImSwzadExoXU4tc
EJV3A4Mka2wPs7P8VBCO6xcpRe27iNJu
mEuInz8UH1ixLGJq4oQhEiJORERVG5xc
lkY0ng0XMo29zEhzyw3ibQfeEBxghwPF
syeCnFndQ8TE4qAGvhm9nZLBZOBgoLKd
7TeyFZ8oyLulHwYUOcSPzZ5w3cLYib61
@elfefe
elfefe / regex.md
Created April 14, 2023 12:20
Markdown regex

A regex by itself won't be sufficient to fully parse text into Markdown, as Markdown has a variety of syntax rules that can't be captured by a single regular expression. However, I can provide you with a set of regex patterns to help identify some common Markdown elements. You can use these patterns to build a parser or converter:

  1. Headers: ^(#{1,6})\s+(.+)$

  2. Bold text: \*\*(.+?)\*\*|__(.+?)__

  3. Italic text: \*(.+?)\*|_(.+?)_

  4. Strikethrough: ~~(.+?)~~

@fnky
fnky / ANSI.md
Last active February 8, 2026 01:32
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@digitalknk
digitalknk / openclaw-guide.md
Last active February 8, 2026 01:31
Running OpenClaw Without Burning Money, Quotas, or Your Sanity

Running OpenClaw Without Burning Money, Quotas, or Your Sanity

TL;DR

OpenClaw is useful, but most of the pain people run into comes from letting one model do everything, chasing hype, or running expensive models in places that don't need them.

What worked for me was treating OpenClaw like infrastructure instead of a chatbot. Keep a cheap model as the coordinator, use agents for real work, be explicit about routing, and make memory and task state visible. Cheap models handle background work fine. Strong models are powerful when you call them intentionally instead of leaving them as defaults.

You don't need expensive hardware, and you don't need to host giant local models to get value out of this. Start small, get things stable before letting it run all the time, and avoid the hype train. If something feels broken, check the official docs and issues first. OpenClaw changes fast, and sometimes it really is just a bug.

@oEdyb
oEdyb / openclawguide.md
Last active February 8, 2026 01:31
OpenClaw Full Setup Guide

OpenClaw Setup Guide

Setup documentation for deploying OpenClaw on a VPS. Potential video content.


Prerequisites

  • Fresh Ubuntu server (tested on Ubuntu 24.04)
  • SSH access with key authentication
@ConnerWill
ConnerWill / ANSI-escape-sequences.md
Last active February 8, 2026 01:25
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27

Setting up Unifi Talk without Touch device

I recently came across the issue that I wanted to setup Unifi Talk but I didn't want to buy a talk device just to set it up (this was the recommended way from Unifi)

For Unifi Talk 4.2.4 its a little more difficult but still possible:

  1. Go to your Unifi Talk setup page and press right mouse button -> Inspect
  2. Go to Network tab in Dev Tools
  3. Search for index-